package com.iot.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iot.common.annotation.Excel;
import com.iot.common.core.domain.BaseEntity;

/**
 * 产线小时能耗对象 line_hour_energy_info
 * 
 * @author iot
 * @date 2025-02-12
 */
public class LineHourEnergyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 产线id */
    @Excel(name = "产线id")
    private Long lineId;

    /** 产线统计日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "产线统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lineDate;

    /** 产线统计时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "产线统计时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lineTime;

    /** 产线能耗汇总 */
    @Excel(name = "产线能耗汇总")
    private String energyAccumulate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLineId(Long lineId) 
    {
        this.lineId = lineId;
    }

    public Long getLineId() 
    {
        return lineId;
    }
    public void setLineDate(Date lineDate) 
    {
        this.lineDate = lineDate;
    }

    public Date getLineDate() 
    {
        return lineDate;
    }
    public void setLineTime(Date lineTime) 
    {
        this.lineTime = lineTime;
    }

    public Date getLineTime() 
    {
        return lineTime;
    }
    public void setEnergyAccumulate(String energyAccumulate) 
    {
        this.energyAccumulate = energyAccumulate;
    }

    public String getEnergyAccumulate() 
    {
        return energyAccumulate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lineId", getLineId())
            .append("lineDate", getLineDate())
            .append("lineTime", getLineTime())
            .append("energyAccumulate", getEnergyAccumulate())
            .append("createTime", getCreateTime())
            .toString();
    }
}
